﻿using Geotagger;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Geotagger.EXIF;

namespace geotaggerTestProject
{
    
    
    /// <summary>
    ///This is a test class for GeotaggerTest and is intended
    ///to contain all GeotaggerTest Unit Tests
    ///</summary>
    [TestClass()]
    public class GeotaggerTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for TcxPath
        ///</summary>
        [TestMethod()]
        public void TcxPathTest()
        {
            Geotagger target = new Geotagger(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.TcxPath = expected;
            actual = target.TcxPath;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ImageFolder
        ///</summary>
        [TestMethod()]
        public void ImageFolderTest()
        {
            Geotagger target = new Geotagger(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ImageFolder = expected;
            actual = target.ImageFolder;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SetGeoTagDataOnImage
        ///</summary>
        [TestMethod()]
        [DeploymentItem("geotagger.dll")]
        public void SetGeoTagDataOnImageTest()
        {
            EXIFextractor exifData = null; // TODO: Initialize to an appropriate value
            GeoDataPoint locationInformation = null; // TODO: Initialize to an appropriate value
            Geotagger_Accessor.SetGeoTagDataOnImage(exifData, locationInformation);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for SetGeocodeDataManually
        ///</summary>
        [TestMethod()]
        public void SetGeocodeDataManuallyTest()
        {
            string fileName = string.Empty; // TODO: Initialize to an appropriate value
            GeoDataPoint gdp = null; // TODO: Initialize to an appropriate value
            Geotagger.SetGeocodeDataManually(fileName, gdp);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for SetGeocodeData
        ///</summary>
        [TestMethod()]
        public void SetGeocodeDataTest()
        {
            Geotagger target = new Geotagger(); // TODO: Initialize to an appropriate value
            target.SetGeocodeData();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for NorthOrSouth
        ///</summary>
        [TestMethod()]
        [DeploymentItem("geotagger.dll")]
        public void NorthOrSouthTest()
        {
            string latitude = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = Geotagger_Accessor.NorthOrSouth(latitude);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for loadXML
        ///</summary>
        [TestMethod()]
        [DeploymentItem("geotagger.dll")]
        public void loadXMLTest()
        {
            Geotagger_Accessor target = new Geotagger_Accessor(); // TODO: Initialize to an appropriate value
            target.loadXML();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for GetLatLongBytes
        ///</summary>
        [TestMethod()]
        [DeploymentItem("geotagger.dll")]
        public void GetLatLongBytesTest()
        {
            string input = string.Empty; // TODO: Initialize to an appropriate value
            byte[] expected = null; // TODO: Initialize to an appropriate value
            byte[] actual;
            actual = Geotagger_Accessor.GetLatLongBytes(input);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for GetAltitudeBytes
        ///</summary>
        [TestMethod()]
        [DeploymentItem("geotagger.dll")]
        public void GetAltitudeBytesTest()
        {
            string input = string.Empty; // TODO: Initialize to an appropriate value
            byte[] expected = null; // TODO: Initialize to an appropriate value
            byte[] actual;
            actual = Geotagger_Accessor.GetAltitudeBytes(input);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for EastOrWest
        ///</summary>
        [TestMethod()]
        [DeploymentItem("geotagger.dll")]
        public void EastOrWestTest()
        {
            string longitude = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = Geotagger_Accessor.EastOrWest(longitude);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for DumpGPSInfo
        ///</summary>
        [TestMethod()]
        public void DumpGPSInfoTest()
        {
            Geotagger target = new Geotagger(); // TODO: Initialize to an appropriate value
            string fileName = string.Empty; // TODO: Initialize to an appropriate value
            target.DumpGPSInfo(fileName);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Geotagger Constructor
        ///</summary>
        [TestMethod()]
        public void GeotaggerConstructorTest()
        {
            Geotagger target = new Geotagger();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
